<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('查看主题党日')" />
</head>
<body class="gray-bg">
	
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>查看主题党日</h5>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m" id="form-theme-party-day-view" th:object="${djThemePartyDay}">
							<input name="id" th:field="*{id}" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">活动主题：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{title}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">活动日期：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{#dates.format(activityDate, 'yyyy-MM-dd')}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">活动时间：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{activityTime}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">活动地点：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{location}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">活动内容：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:utext="*{content}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">参与人员：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{participantNames}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">组织者：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{organizer}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">联系电话：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{contactPhone}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">通知方式：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{noticeMethods}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">活动资料：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{videoPath != null and videoPath != ''}">
										<a th:href="@{*{videoPath}}" target="_blank">查看活动资料</a>
									</p>
									<p class="form-control-static" th:if="*{videoPath == null or videoPath == ''}">无</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{status == 0}">未开始</p>
									<p class="form-control-static" th:if="*{status == 1}">进行中</p>
									<p class="form-control-static" th:if="*{status == 2}">已结束</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{remark}"></p>
								</div>
							</div>
							<div class="form-group">
								<div class="form-control-static col-sm-offset-9">
									<button class="btn btn-primary" type="button" onclick="closeItem()">返回</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<th:block th:include="include :: footer" />
	
	<script type="text/javascript">
		function closeItem() {
			var index = parent.layer.getFrameIndex(window.name);
			parent.layer.close(index);
		}
	</script>
</body>
</html>